/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package pe.com.cotelasa.scp.dominio.service;

import java.util.Collection;
import java.util.Date;
import java.util.List;
import pe.com.cotelasa.scp.dominio.common.ResultadoServicio;
import pe.com.cotelasa.scp.dominio.excepcion.ServiceException;
import pe.com.cotelasa.scp.entidad.Kardex;

/**
 *
 * @author WINDOWS 7
 */
public interface IServicioKardex {

    public ResultadoServicio guardarKardex(Kardex kardex) throws ServiceException;
    
    public ResultadoServicio guardarListaKardex(List<Kardex> listaKardex) throws ServiceException;
    
    public ResultadoServicio actualizarKardex(Kardex kardex) throws ServiceException;
    
    public int buscarCantidadKardex(Kardex kardex) throws ServiceException;
    
    public int buscarCantidadKardexActivos(Kardex kardex) throws ServiceException;
    
    public Kardex buscarUltimoKardex(Kardex kardex) throws ServiceException;
    
    public Collection<Kardex> listaKardexPorFiltro(Kardex kardex,Date fecInicio,Date fecFinal) throws ServiceException;
    
    public Collection<Kardex> buscarKardexPorOp(Kardex kardex) throws ServiceException;
    
    public Kardex buscarKardexSalidaMasAntiguo(Kardex kardex) throws ServiceException;
    
    public Collection<Kardex> buscarKardexSalidaPorOpyCat(Kardex kardex) throws ServiceException;
    
    public Kardex buscarKardexEPorKardexS(Kardex kardex) throws ServiceException;
    
    public Kardex buscarKardexSPorKardexE(Kardex kardex) throws ServiceException;
    
    public Kardex buscarKardex(Kardex kardex) throws ServiceException;
    
    public Collection<Kardex> buscarKardexPorVenta(int idVentaFacturacion) throws ServiceException;
    
    public Collection<Kardex> buscarKardexPorGuia(int idGuiaRemision) throws ServiceException;
}
